package po;

import java.util.Date;

public class DyhNews {
    private Integer id;

    private Integer topicid;

    private String headtitle;

    private String pretitle;

    private String title;

    private String titlecolor;

    private String titlefont;

    private String subtitle;

    private String keyword;

    private String pagetype;

    private Integer autopagewordnumber;

    private String photos;

    private Integer priority;

    private String newsfrom;

    private Integer sort;

    private Integer userid;

    private String username;

    private Date time;

    private Integer subclassid;

    private String subclassname;

    private Integer mainclassid;

    private String mainclassname;

    private Integer hits;

    private String zhaiyao;

    private String xiangguan;

    private String url;

    private Integer top;

    private String score;

    private Integer recommended;

    private Integer readstate;

    private Byte deleteFlag;

    private String newscontent;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTopicid() {
        return topicid;
    }

    public void setTopicid(Integer topicid) {
        this.topicid = topicid;
    }

    public String getHeadtitle() {
        return headtitle;
    }

    public void setHeadtitle(String headtitle) {
        this.headtitle = headtitle == null ? null : headtitle.trim();
    }

    public String getPretitle() {
        return pretitle;
    }

    public void setPretitle(String pretitle) {
        this.pretitle = pretitle == null ? null : pretitle.trim();
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getTitlecolor() {
        return titlecolor;
    }

    public void setTitlecolor(String titlecolor) {
        this.titlecolor = titlecolor == null ? null : titlecolor.trim();
    }

    public String getTitlefont() {
        return titlefont;
    }

    public void setTitlefont(String titlefont) {
        this.titlefont = titlefont == null ? null : titlefont.trim();
    }

    public String getSubtitle() {
        return subtitle;
    }

    public void setSubtitle(String subtitle) {
        this.subtitle = subtitle == null ? null : subtitle.trim();
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword == null ? null : keyword.trim();
    }

    public String getPagetype() {
        return pagetype;
    }

    public void setPagetype(String pagetype) {
        this.pagetype = pagetype == null ? null : pagetype.trim();
    }

    public Integer getAutopagewordnumber() {
        return autopagewordnumber;
    }

    public void setAutopagewordnumber(Integer autopagewordnumber) {
        this.autopagewordnumber = autopagewordnumber;
    }

    public String getPhotos() {
        return photos;
    }

    public void setPhotos(String photos) {
        this.photos = photos == null ? null : photos.trim();
    }

    public Integer getPriority() {
        return priority;
    }

    public void setPriority(Integer priority) {
        this.priority = priority;
    }

    public String getNewsfrom() {
        return newsfrom;
    }

    public void setNewsfrom(String newsfrom) {
        this.newsfrom = newsfrom == null ? null : newsfrom.trim();
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Integer getSubclassid() {
        return subclassid;
    }

    public void setSubclassid(Integer subclassid) {
        this.subclassid = subclassid;
    }

    public String getSubclassname() {
        return subclassname;
    }

    public void setSubclassname(String subclassname) {
        this.subclassname = subclassname == null ? null : subclassname.trim();
    }

    public Integer getMainclassid() {
        return mainclassid;
    }

    public void setMainclassid(Integer mainclassid) {
        this.mainclassid = mainclassid;
    }

    public String getMainclassname() {
        return mainclassname;
    }

    public void setMainclassname(String mainclassname) {
        this.mainclassname = mainclassname == null ? null : mainclassname.trim();
    }

    public Integer getHits() {
        return hits;
    }

    public void setHits(Integer hits) {
        this.hits = hits;
    }

    public String getZhaiyao() {
        return zhaiyao;
    }

    public void setZhaiyao(String zhaiyao) {
        this.zhaiyao = zhaiyao == null ? null : zhaiyao.trim();
    }

    public String getXiangguan() {
        return xiangguan;
    }

    public void setXiangguan(String xiangguan) {
        this.xiangguan = xiangguan == null ? null : xiangguan.trim();
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    public Integer getTop() {
        return top;
    }

    public void setTop(Integer top) {
        this.top = top;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score == null ? null : score.trim();
    }

    public Integer getRecommended() {
        return recommended;
    }

    public void setRecommended(Integer recommended) {
        this.recommended = recommended;
    }

    public Integer getReadstate() {
        return readstate;
    }

    public void setReadstate(Integer readstate) {
        this.readstate = readstate;
    }

    public Byte getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Byte deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public String getNewscontent() {
        return newscontent;
    }

    public void setNewscontent(String newscontent) {
        this.newscontent = newscontent == null ? null : newscontent.trim();
    }
}